package com.create.myworld.factory;

import com.create.myworld.sse.NormalSSE;

/**
 * @author zcw
 * 初始化工厂(责任链起点)
 */
public class StartFactory extends WorldFactory {
    public StartFactory() {
        name = "初始化工厂";
        setNext(new PeopleFactory());
    }

    @Override
    protected void produce() {
        NormalSSE.contentList.add("开始初始化...");
    }
}
